<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */
 /*
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
  for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
    $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
  }
  $content .= '</ol>' . "\n";
  $content .= '</div>' . "\n";
  $content .= '</div>';
  */
	
	
  //modify by  vincent, hard code the best sellers
  $content = '';
	
	
	//top 1
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.1</span></div>';
	$content .= '<a href="http://www.kennbikyou.com/500%E5%80%8D-8led-usb%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-%E6%B8%AC%E9%87%8F%E6%A9%9F%E8%83%BD-p-11.html"><img src="/images/500X 8LED Digital Microscope.jpg"  width="110" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kennbikyou.com/500%E5%80%8D-8led-usb%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-%E6%B8%AC%E9%87%8F%E6%A9%9F%E8%83%BD-p-11.html">500倍 8LED USBデジタル顕微鏡 測量機能</a>';
	$content .= '<div>8690円</div>';
	$content .= '</div>';
		
	//top 2
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.2</span></div>';
	$content .= '<a href="http://www.kennbikyou.com/500%E5%80%8D-%E6%90%BA%E5%B8%AFusb%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-%E9%AB%98%E5%93%81%E8%B3%AA%E5%8F%8A%E3%81%B3%E4%BD%8E%E4%BE%A1%E6%A0%BC-p-13.html"><img src="/images/500x portable  digi microscope .jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kennbikyou.com/500%E5%80%8D-%E6%90%BA%E5%B8%AFusb%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-%E9%AB%98%E5%93%81%E8%B3%AA%E5%8F%8A%E3%81%B3%E4%BD%8E%E4%BE%A1%E6%A0%BC-p-13.html">500倍 携帯USBデジタル顕微鏡 高品質及び低価格</a>';
	$content .= '<div>6800円</div>';
	$content .= '</div>';
	
	
	
	//top 3
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.3</span></div>';
	$content .= '<a href="http://www.kennbikyou.com/200%E5%80%8D-supereyes-a005-usb%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-usb-%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%97-p-9.html"><img src="/images/200x super eyes A005 usb microscope.jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kennbikyou.com/200%E5%80%8D-supereyes-a005-usb%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-usb-%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%97-p-9.html">200倍 SuperEyes A005 USBデジタル顕微鏡 usb スコープ</a>';
	$content .= '<div>9800円</div>';
	$content .= '</div>';	
	
	
	//top 4
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.4</span></div>';
	$content .= '<a href="http://www.kennbikyou.com/super-eye-a5-usb-%E3%83%9A%E3%83%B3%E5%9E%8B-%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-500%E5%80%8D-p-3.html"><img src="/images/super eye A5 500w 500x microscope .jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kennbikyou.com/super-eye-a5-usb-%E3%83%9A%E3%83%B3%E5%9E%8B-%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E9%A1%95%E5%BE%AE%E9%8F%A1-500%E5%80%8D-p-3.html">Super Eye A5 USB ペン型 デジタル顕微鏡 500倍</a>';
	$content .= '<div>18900円</div>';
	$content .= '</div>';
	
	
	//top 5
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.5</span></div>';
	$content .= '<a href="http://www.kennbikyou.com/200%E5%80%8D-%E7%B0%A1%E6%98%93%E5%9E%8Bled-%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E5%86%85%E8%A6%96%E9%8F%A1-%E9%9B%BB%E5%AD%90%E9%A1%95%E5%BE%AE%E9%8F%A1-p-1.html"><img src="/images/200x simple usb microscope pen style.jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kennbikyou.com/200%E5%80%8D-%E7%B0%A1%E6%98%93%E5%9E%8Bled-%E3%83%87%E3%82%B8%E3%82%BF%E3%83%AB%E5%86%85%E8%A6%96%E9%8F%A1-%E9%9B%BB%E5%AD%90%E9%A1%95%E5%BE%AE%E9%8F%A1-p-1.html">200倍 簡易型LED デジタル内視鏡 電子顕微鏡</a>';
	$content .= '<div>5600円</div>';
	$content .= '</div>';		



	 //base  top5
	  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
	  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
	  for ($i=1; $i<=5; $i++) {
		$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
	  }
	  $content .= '</ol>' . "\n";
	  $content .= '</div>' . "\n";
	  $content .= '</div>';
?>